package io.vincentwinner.systeminfoapi.dao.impl;

import io.vincentwinner.systeminfoapi.dao.ICommonHardwareDao;
import io.vincentwinner.toolset.os.Computer;
import org.springframework.stereotype.Repository;

/**
 * @see ICommonHardwareDao
 */
@Repository("commonHardwareDao")
public class CommonHardwareDaoImpl implements ICommonHardwareDao {

    @Override
    public String getSerialNumber() {
        return Computer.getSerialNumber();
    }

    @Override
    public String getHardwareUUID() {
        return Computer.getHardwareUUID();
    }

    @Override
    public String getManufacturer() {
        return Computer.getManufacturer();
    }

    @Override
    public String getComputerModel() {
        return Computer.getComputerModel();
    }

}
